package com.abaaba.teamworktest.controller;


import com.abaaba.teamworktest.bean.BaseRespVo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {

    @RequestMapping("/test1")
    @ResponseBody
    public BaseRespVo testMethod1()
    {
        System.out.println("阿巴阿巴");
        return BaseRespVo.ok("阿巴阿巴");
    }

    @RequestMapping("/test2")
    @ResponseBody
    public BaseRespVo testMethod2()
    {
        System.out.println("NICE");
        return BaseRespVo.ok("NICE！");
    }

    @RequestMapping("/test3")
    @ResponseBody
    public BaseRespVo testMethod3()
    {
        System.out.println("hhhh");
        return BaseRespVo.ok("hhhh");
    }

}


